export const calculateDailySalary = (monthSalary, workDays) => {
  return monthSalary / workDays
}

export const calculateCurrentDayIncome = (hourlyRate, startTime, currentTime) => {
  const hours = (currentTime - startTime) / (1000 * 60 * 60)
  return hourlyRate * hours
} 